﻿Public Class TinDangDTO
    Private _maTin As String
    Private _tieuDe As String
    Private _ngayDang As DateTime
    Private _maLoaiPhong As Integer
    Private _maQuan As Integer
    Private _maKH As String
    Private _maNV As String
    Private _dienTich As Integer
    Private _sucChua As Integer
    Private _ganCho As Boolean
    Private _internet As Boolean
    Private _ganBus As Boolean
    Private _giaTien As Integer
    Private _maDV As String
    Private _daThue As Boolean
    Private _biXoa As Boolean

    Public Property MaTin As String
        Get
            Return _maTin
        End Get
        Set(value As String)
            _maTin = value
        End Set
    End Property
    Public Property TieuDe As String
        Get
            Return _tieuDe
        End Get
        Set(value As String)
            _tieuDe = value
        End Set
    End Property
    Public Property NgayDang As DateTime
        Get
            Return _ngayDang
        End Get
        Set(value As DateTime)
            _ngayDang = value
        End Set
    End Property
    Public Property MaLoaiPhong As Integer
        Get
            Return _maLoaiPhong
        End Get
        Set(value As Integer)
            _maLoaiPhong = value
        End Set
    End Property
    Public Property MaQuan As Integer
        Get
            Return _maQuan
        End Get
        Set(value As Integer)
            _maQuan = value
        End Set
    End Property
    Public Property MaKH As String
        Get
            Return _maKH
        End Get
        Set(value As String)
            _maKH = value
        End Set
    End Property
    Public Property MaNV As String
        Get
            Return _maNV
        End Get
        Set(value As String)
            _maNV = value
        End Set
    End Property
    Public Property DienTich As Integer
        Get
            Return _dienTich
        End Get
        Set(value As Integer)
            _dienTich = value
        End Set
    End Property
    Public Property SucChua As Integer
        Get
            Return _sucChua
        End Get
        Set(value As Integer)
            _sucChua = value
        End Set
    End Property
    Public Property GanCho As Boolean
        Get
            Return _ganCho
        End Get
        Set(value As Boolean)
            _ganCho = value
        End Set
    End Property
    Public Property Internet As Boolean
        Get
            Return _internet
        End Get
        Set(value As Boolean)
            _internet = value
        End Set
    End Property
    Public Property GanBus As Boolean
        Get
            Return _ganBus
        End Get
        Set(value As Boolean)
            _ganBus = value
        End Set
    End Property
    Public Property GiaTien As Integer
        Get
            Return _giaTien
        End Get
        Set(value As Integer)
            _giaTien = value
        End Set
    End Property
    Public Property MADV As String
        Get
            Return _maDV
        End Get
        Set(value As String)
            _maDV = value
        End Set
    End Property
    Public Property DaThue As Boolean
        Get
            Return _daThue
        End Get
        Set(value As Boolean)
            _daThue = value
        End Set
    End Property
    Public Property BiXoa As Boolean
        Get
            Return _biXoa
        End Get
        Set(value As Boolean)
            _biXoa = value
        End Set
    End Property

    Public Sub New(ByVal MaTin As String, ByVal TieuDe As String, ByVal NgayDang As DateTime, ByVal MaLoaiPhong As Integer, ByVal MaQuan As String, ByVal MaKH As String, ByVal MaNV As String, ByVal DienTich As Integer, ByVal SucChua As Integer, ByVal GanCho As Boolean, ByVal Internet As Boolean, ByVal GanBus As Boolean, ByVal GiaTien As Integer, ByVal MADV As String, ByVal DaThue As Boolean, ByVal BiXoa As Boolean)
        Me._maTin = MaTin
        Me._tieuDe = TieuDe
        Me._ngayDang = NgayDang
        Me._maLoaiPhong = MaLoaiPhong
        Me._maQuan = MaQuan
        Me._maKH = MaKH
        Me._maNV = MaNV
        Me._dienTich = DienTich
        Me._sucChua = SucChua
        Me._ganCho = GanCho
        Me._internet = Internet
        Me._ganBus = GanBus
        Me._giaTien = GiaTien
        Me._maDV = MADV
        Me._daThue = DaThue
        Me._biXoa = BiXoa
    End Sub
End Class
